<!doctype html>
<html>
<head>
    <meta charset=utf-8>
    <meta name="robots" content="noindex,nofollow">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="<?=Web_Path?>packs/layui/css/layui.css">
    <link rel="stylesheet" href="<?=Web_Path?>packs/admin/css/font.css">
    <link rel="stylesheet" href="<?=Web_Path?>packs/admin/css/style.css">
    <script src="<?=Web_Path?>packs/js/jquery.min.js"></script>
    <script src="<?=Web_Path?>packs/layui/layui.js"></script>
    <script src="<?=Web_Path?>packs/admin/js/cscms.js"></script>
</head>
<body>
    <span class="layui-breadcrumb" >
        <a ><cite><i class="fa fa-map-marker"></i><?=L('tpl_l_01')?></cite></a>
        <a href="<?=site_url('opt/main')?>"><?=L('tpl_l_02')?></a>
        <a href="#"><?=L('tpl_l_03')?></a>
    </span>
    <div style="color: #666;"><i class="fa fa-hand-o-right"></i><?=L('tpl_l_04')?></div>
    <table class="layui-table">
        <thead>
            <tr>
                <th><?=L('tpl_l_05')?></th>
                <th><?=L('tpl_l_06')?></th>
                <th><?=L('tpl_l_07')?></th>
                <th><?=L('tpl_l_08')?></th>
                <th class="phide"><?=L('tpl_l_09')?></th>
                <th class="phide"><?=L('tpl_l_10')?></th>
            </tr>
        </thead>
        <tbody>
     <?php
        foreach ($log as $row) {
            echo '
                <tr>
                <td>'.$row->id.'</td>
                <td>'.getzd('admin','adminname',$row->uid).'</td>
                <td>'.date('Y-m-d H:i:s',$row->logintime).'</td>
                <td>'.$row->loginip.'</td>
                <td class="phide">'.$this->ip->address($row->loginip).'</td>
                <td class="phide">'.$row->useragent.'</td>
                </tr> ';
        }
    ?>
        </tbody>
    </table>
    <div id="page">
        <div class="data_nums phide"><?=$page_data?></div>
        <div class="data_page"><?=$page_list?></div>
    </div>
</div>
</body>
<script>
    cscms.init(3);
</script>
</html>
